package com.kinon.markett2;

import android.os.Build;
import android.os.SystemProperties;

import org.litepal.LitePalApplication;

public class MyApplication extends LitePalApplication {

    public static String subModel = null;
    public static String serialNum = null;

    private static MyApplication myApplication = null;

    public static MyApplication getInstance() {
        return myApplication;
    }

    @Override
    public void onCreate() {
        super.onCreate();
        myApplication = this;

        serialNum = Build.SERIAL;
        subModel = SystemProperties.get("ro.product.model");
    }
}
